package com.example.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaohei.crm.common.result.Result;
import com.xiaohei.crm.dao.Role;


public interface RoleService extends IService<Role> {
    Result<IPage> findByPage();

    void saveRole(Role role);

    void updateByRoleId(Role role);

    void deleteById(String id);
}
